package com.cmol.data;

/**
 * 授权token
 *
 * @author 邢文成 张瀚文 王国良
 */
public class GlobalData {
    /**
     * authorization
     */
    public static String userToken;
    /**
     * 保存操作的场景ID
     */
    private static int currentSceneID;
    /**
     * 当前用户账户
     */
    private static String currentEmail;
    /**
     * 当前用户ID
     */
    private static int currentUserID;

    public static String getCurrentEmail() {
        return currentEmail;
    }

    public static void setCurrentEmail(String currentEmail) {
        GlobalData.currentEmail = currentEmail;
    }

    public static int getCurrentSceneID() {
        return currentSceneID;
    }

    public static void setCurrentSceneID(int sceneID) {
        currentSceneID = sceneID;
    }

    public static void setCurrentUserAccount(int userAccount) {
        currentUserID = userAccount;
    }

    public static String getUserToken() {
        return userToken;
    }

    public static void setUserToken(String token) {

        userToken = token;
    }

}
